<?php
 
// no direct access
defined('_JEXEC') or die('Restricted access');

// import application controller
jimport('joomla.application.component.controller');

class SyncrControllerFetch extends JController
{
	public function __construct($config = array()) {
		parent::__construct($config);
	}
	
	public function categories()
	{
		$model =& $this->getModel('fetch');
		
		echo $model->getCategories();
	}
	
	public function content()
	{
		$model =& $this->getModel('fetch');
		
		echo $model->getContent();
	}
	
	public function request()
	{
		$model =& $this->getModel('fetch');
		
		echo $model->requestItem();
	}
	
	public function receive()
	{
		$model =& $this->getModel('fetch');
		
		echo $model->receiveItem();
	}
	
	public function process()
	{
		$model =& $this->getModel('fetch');
		
		echo $model->process();
	}
	
	public function cleanup()
	{
		$model =& $this->getModel('fetch');
		
		echo $model->cleanup();
	}
}